package com.hualan.sfzy.mapper.sysUser;

import com.hualan.sfzy.entity.SysUser;
import com.hualan.sfzy.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 13302
* @description 针对表【sys_user】的数据库操作Mapper
* @createDate 2025-07-18 08:41:17
* @Entity com.hualan.sfzy.entity.SysUser
*/
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
    @Override
    int update(SysUser entity);

    @Override
    int delete(Integer id);

    @Override
    int deleteBatch(Integer[] ids);

    @Override
    List<SysUser> select(SysUser entity);

    @Override
    SysUser selectById(Integer id);

    @Override
    int insert(SysUser record);

    int insertSelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    SysUser selectSysUserByUsername(String username);

    List<SysUser> selectAll();
}
